package com.baizhi.rjb.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

public class CategoryAddDto {
    private String cateName;
    private Integer parentId;

    @Override
    public String toString() {
        return "CategoryAddDto{" +
                "cateName='" + cateName + '\'' +
                ", parentId=" + parentId +
                '}';
    }

    public String getCateName() {
        return cateName;
    }

    public void setCateName(String cateName) {
        this.cateName = cateName;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public CategoryAddDto(String cateName) {
        this.cateName = cateName;
    }

    public CategoryAddDto() {
    }
}
